package t1;

public class DynamicLoader {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
//		System.out.println("DynamicLoader run: \"" + args[0] + "\"["
//				+ DynamicLoader.class.getClassLoader() + "]");
		// 1 //
		// Load class with definig class loader
		Class toRun = Class.forName("test/Echo.class");
		Runnable r = (Runnable) toRun.newInstance();
		r.run();
	}
}
